const defaultTheme = require("tailwindcss/defaultTheme")

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    "./index.html",
    "./src/**/*.{js,ts,jsx,tsx}"
  ],
  theme: {
    extend: {
      height: {
        test: `calc(100vh - ${defaultTheme.spacing[16]})`,
      },
      colors: {
        active: "#ff7543", //强调色
        primary: "#222222", //主题色
        font: "#262626", // 文字
        font2: "#808080", // 辅助文字
        grey: "#eeeeee", // 灰色
        grey2: "#f5f5f5", //灰色2
        border: "#d9d9d9", //边框颜色
      },
      animation: {
        test: "upshow 2s infinite linear",
      },
      keyframes: {
        upshow: {
          "100%": {
            backgroundSize: "100%",
          },
        },
      },
    },
  }
};
